# coding: UTF-8
# Filename : branch_data_model.py
# Company : imedia
# Author : rose
# -*-coding:utf-8 -*-

import socket  
import time  
if __name__ == '__main__':  
    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
    sock.connect(('192.168.1.123', 10001))  
    sock.send('hello')  
    print sock.recv(1024)  
    sock.close()


